/*
 * ${beanName}Service.java created on ${config.createTime?string("yyyy-MM-dd")} by ${config.createUser}
 */
package ${config.pack}.service;

import org.eking.core.common.BusinessMap;
import org.eking.core.common.Pager;
import ${config.pack}.entity.${beanName};
import ${config.pack}.entity.${beanShowVo};
import ${config.pack}.entity.${beanQueryVo};

/**
 * ${config.beanDescription} Service 接口声明
 * TODO javadoc for ${config.pack}.service.${beanName}Service
 * @Copyright: ${config.copyright}
 * @author: ${config.createUser}
 * @since: ${config.createTime?string("yyyy-MM-dd HH:mm:ss")}
 */
public interface ${beanName}Service{

	/**
	 * @description: 分页查询
	 * @creator: ${config.createUser}
	 * @createDate: ${config.createTime?string("yyyy-MM-dd")} 
	 * @param pager
	 * @param ${simpleBeanName}
	 */
	void search(Pager<${beanShowVo}> pager, ${beanQueryVo} ${simpleBeanName});
	
	/**
	 * @description: 添加
	 * @creator: ${config.createUser}
	 * @createDate: ${config.createTime?string("yyyy-MM-dd")} 
	 * @param ${simpleBeanName}
	 * @return
	 */
	BusinessMap create(${beanName} ${simpleBeanName});
	
	/**
	 * @description: 根据id返回${config.beanDescription}
	 * @creator: ${config.createUser}
	 * @createDate: ${config.createTime?string("yyyy-MM-dd")} 
	 * @param ${beanId}
	 * @return
	 */
	${beanName} getById(String ${beanId});
	
	/**
	 * @description: 编辑
	 * @creator: ${config.createUser}
	 * @createDate: ${config.createTime?string("yyyy-MM-dd")} 
	 * @param ${simpleBeanName}
	 * @return
	 */
	BusinessMap edit(${beanName} ${simpleBeanName});

	/**
	 * @description: 删除
	 * @creator: ${config.createUser}
	 * @createDate: ${config.createTime?string("yyyy-MM-dd")} 
	 * @param ${beanId}
	 * @return
	 */
	BusinessMap delete(String ${beanId});

}
